package idempotence

type Storage interface {
	SaveIfAbsent(id string) (bool, error)
	Delete(id string) error
}

type RedisStorage struct {
}

func (r *RedisStorage) SaveIfAbsent(id string) (bool, error) {
	return true, nil
}

func (r *RedisStorage) Delete(id string) error {
	return nil
}
